package notifiers;

import com.sun.xml.internal.messaging.saaj.packaging.mime.Header;

import models.User;
import play.mvc.Mailer;

public class Mails extends Mailer {

	public static void active(User user) {
		setSubject("欢迎您的加入 %s", user.email);
		addRecipient(user.email);
		setFrom("Oopsplay Offical <394804487@qq.com>");
		String message = "http://localhost:9000/active?uuid=" + user.uuid;
		send(message);
	}
	
	//忘记密码
	public static void forgetPass(){
		
	}
}
